let mongoose = require("mongoose")

mongoose.connect("mongodb+srv://2018223253:wzM050516@cluster0.eal1u.mongodb.net/user").then(()=>{
    console.log("数据库连接成功");
}).catch((err)=>{
    console.log("数据库错误"+err);
})

module.exports = mongoose